package com.qixiaobao.nondirect.invoice.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.qixiaobao.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description 发票汇总
 * @Author yangxm
 * @Date 2025/7/8 11:03
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
@ExcelIgnoreUnannotated
public class InvoiceStatistic extends BaseEntity {

    private Long id;
    /** 供应商全称 */
    @ExcelProperty("供应商全称")
    private String supplyName;
    /** 实际付款单位 */
    private Long actualPayCompanyId;
    /** 实际付款单位名称 */
    @ExcelProperty("实际付款单位")
    private String actualPayCompanyName;
    /** 应开票金额 */
    @ExcelProperty("应开票金额")
    private BigDecimal payableInvoiceAmount;
    /** 实开票金额 */
    @ExcelProperty("实开票金额")
    private BigDecimal actualInvoiceAmount;
    /** 未开票金额 */
    @ExcelProperty("未开票金额")
    private BigDecimal monthlyUnbilledAmount;
    @ExcelProperty("当月欠票金额")
    private BigDecimal monthlyOweAmount;
    /** 上月未开票金额 */
    @ExcelProperty("上月未开票金额")
    private BigDecimal lastMonthUnbilledAmount;
    /** 汇总月份 */
    private String yearMonth;
    /** 当月保费归属期实付金额 */
    private BigDecimal insureFeeMonthAmount;
}
